<template>
    <div class="search__box">
        <span class="iconfont">&#xe61e;</span>
        <input type="text" class="search__box_input" :placeholder="count">
    </div>
</template>

<script>
export default {
  name: 'Search',
  props: ['count']
}
</script>

<style lang="scss">

.search__box {
    width: 100%;
    height: .32rem;
    display: flex;
    position: relative;
    align-items: center;
    margin-bottom: .12rem;
    &_input {
        border-radius: .16rem;
        width: 100%;
        height: 100%;
        background: #F5F5F5;
        border:none;
        padding:0 0 0 .44rem;
        outline: none;
        color:#B7B7B7;
        &::-webkit-input-placeholder{
          color: #B7B7B7;
          font-size: .14rem;
        }
    }
    .iconfont {
        font-size: .16rem;
        color:#B7B7B7;
        position: absolute;
        left: .16rem;
    }
}
</style>
